PROFIT MAKER |Crypto|ETH|BTC|YFIThis is a trend-following strategy that works very well for many Crypto assets in the usd or usdt pair
It can be used for both futures and spot!
Some of the assets in which this strategy is proven are
Asset Exchange TF
BINANCE:ADAUSDT Binance 45m
BINANCE:BTCUSDT Binance 1h
BINANCE:YFIUSDT Binance 30m
BINANCE:DOTUSDT Binance 45m
BINANCE:ETHUSDT Binance 30m
BINANCE:LINKUSDT Binance 45m
BINANCE:DOGEUSDT Binance 1h
And many others..
BINANCE:BTCUSDT
BINANCE:LINKUSDT
What is this strategy based on?
It is a combination of various parameters, including
-RSI: The relative strength index (RSI) is a momentum indicator used in technical analysis that measures
the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset.
-MACD: Moving average convergence divergence (MACD) is a trend-following momentum indicator that shows
the relationship between two moving averages of a security’s price.
-ADX: ADX is used to quantify trend strength. ADX calculations are based on a moving average of price range expansion over a given period of time.
-DMI: DMI is a moving average of range expansion over a given period (the default is 14 days). The positive directional
movement indicator (+DMI) measures how strongly price moves upward; the negative directional movement indicator (-DMI)
measures how strongly price moves downward. The two lines reflect the respective strength of the bulls versus the bears.
Included:
Different forms of Take profit, included:
Take profit on squeeze candles
Take profit based on Risk-Benefit (RR)
Take profit a pre-determined %.
Different forms of Stop Loss, including
ATR-based stop loss
Trail stop loss (with option to use a trigger)
Stop loss a pre-determined %.
**All trades include 0.1% of fees + slippage
** The statistics displayed are for the year 01-01-2020 and the period from 2021 to the date of publication (14-01-2020)
For access you can send a message or consult in my social networks.
Links in my tradingview signature (below).
Pesquisar nos scripts por "stop loss"
Quansium Series A BacktestThis comes with preconfigured setups or strategies. Simply choose one from our list based on the timeframe it was made for. Leverage can be changed; to keep trading safe, a maximum of 2 is allowed. In our findings, this was able to trade crypto (specifically BTC ), MES (Micro E-mini S&P 500 Index Futures ), and stocks. It is important to know that setups A, B, C, and D use variable position sizing, and dynamic stop loss/trailing stop/take profit, these parameters are provided through the alerts. The rest of the strategies were created with a simpler approach in mind, just plainly entry/exits signals.
Quansium as a framework:
Price reformat: we take the price source (Open, Close, High, Low) and remove any noise that affects the accuracy of our signals.
Time awareness: we take several time periods of the data on the chart such as start, end, and whole. We use this to add more depth to our signals.
Position size: our backtest tries to recreate as much as the real world trades as possible so our position is determined by the current equity. We also use the volatility of the market to increase or decrease our exposure or risk.
Risk awareness: stop loss, take profit, trailing stop are the risk exits we use to provide our users some peace of mind. These parameters are totally dynamic and follow the same behavior of the market.
Signals filtering: to make almost non-existent any errors and increase the quality of our trades, our indicators go through multiple phases, this avoid double entries or early exits, and help maintain a record of what has transpired and what’s currently taking place.
Indicators: whenever we can we use custom code or our own functions instead of the defaults ones provided. This gives us total control of what we’re trying to achieve. In many cases we tend to combine several indicators’ logic into one creating a more personalized take on it.
Easiness: since we started our main goal has been to provide the easiest and fastest way to alerts’ creation. It has taken us years to reach this level where now we already provide a list of preset strategies so the user doesn’t have to spend much time tinkering with scripts and more on other matters, because we know life is more than just trading.
Raw signals: we provide the option to turn off as much of our advanced features such as stop loss, take profit, trailing stop, dynamic sizing, etc, etc for a simple approach. Trade signals still go through the signals filtering method mentioned above,
Timeframe pairing: we take trading very seriously, by no way we’ll want the user to lose money (although such thing is expected because past results aren’t an indicative of futures ones), through years of experience we have found what are usually common mistakes the user makes, this feature allows us to only activate the strategy if the right timeframe is chosen.
Trend filters: through the years we have improved the arts of the trend. We like to keep things simple but yet powerful. We observe the macro and micro trend of the security. This helps confirm we are entering at the desirable timing. We also incorporate volume and volatility into decision making, we simply programmed it to trade when these are increasing and higher than the average values observed in both the short and long term. Finally we take into account the strength of the pair to make our final choice of whether to enter or wait, and if anything flashes contrary movement then we cancel the upcoming signal and stop monitoring until the next one comes along.
Full automated risk: stop loss, take profit, and trailing stops usually are set in percentages, and optimized even more using the current market behavior to become more adaptive. But always remains some sort of fixation, so the user must choose a value somewhere. This is where our framework shines the most, as previously mentioned before when we take time into our calculations, we use several periods to observe performance and get values that keep our risk exits natural and closest to the flow of the market itself.
Setups:
A: Centered oscillator with the difference of several moving averages with more sensitive settings. Momentum focused.
B: Centered oscillator using simple moving averages. Trend-Following focused.
C: Centered oscillator using smoothed data with the help of faster moving averages. Trend-Following focused.
D: Centered oscillator with the difference of several moving averages with less sensitive settings. Trend-Following focused.
E: Centered oscillator with the difference of moving averages where the standard deviation is applied first. It uses less sensitive settings. Trend-Following focused.
F: Finds the relationship between multiple readings of the price’s relative strength to better pin-point downs and ups. Trend-Following focused.
G: Centered oscillator with the difference of moving averages where the standard deviation is applied first. It uses more sensitive settings. Momentum focused.
H: Multiple centered oscillators using various moving averages. Trend-Following focused.
I: Centered oscillator using simple moving averages. Momentum focused.
Note: The framework is composed of almost 1000 lines of code as compared to each indicator that makes up the setup which is around 10. The power from Quansium doesn't come from the strategies themselves but rather the overall system that turns simple signals into complex and advanced trades.
Strategy Tester:
Initial Capital: chosen value is $20,000, as an approximate to Bitcoin’s ATH (All-Time High). In previous iterations we noticed some trades won’t go through if the capital was less than the ATH.
Order Size: 100% of equity (although the script controls this, and this is of no regards to the results).
Pyramiding: 1, system doesn’t place multiple entries in a row, only one at a time.
Commission: This simulates order execution with custom trading fees. Commissions are turned off by default because this script works in various markets and each operates differently. In order to reach results that are close to real world conditions, it is imperative the user fills this based upon their broker or exchange data.
When we started, we were focused on finding the best indicator, or creating it ourselves. After years we came to realize that the secret is not in which indicator you use but the framework behind it. All strategies have bad, good, best, worst performance periods. The key of a good system is to help keep you safe when it’s down and maximize your potential when it’s up. We hope this material at the very minimum inspires you to keep going and not lose faith, because it is not the smartest who win but those who persevere.
MTF - Box Trading StrategyMultiTime Frame - Box Trading Strategies (MTF-BT))
How does it work ? The code uses dynamic levels and crossovers on higher time frames to identify trade calls.
Model 1 (Default) Uses a low risk model and Model 2 (Optional) Uses an aggressive model
How to Deploy / Use
As part of the Indicator there are a few choices the user can opt for
Box Resolution - The resolution of the higher time frame for analysis , typically set at 90 , can be customized by the users.
Use Long Strategy 1 - This would add long trades based on Model1 Algorithm for the users
Use Short Strategy 1 - This would add short trades based on Model1 Algorithm for the users
Use Long Strategy 2 - This would add long trades based on Model2 Algorithm for the users
Use Short Strategy 2 - This would add short trades based on Model2 Algorithm for the users
Check Range Val Validate the width of the channel on higher timeframe and trade only when the channel is wider than the value provided ,
The value of 0.14 is determined using series of back test across various assets
Use Stop Loss : Flag to check if Stop Loss should be done by the strategy
Stop Loss Limit : Stop Loss in Absolute terms
Use Profit Booking : Flag to check if Profit Booking should be done by the strategy
Stop Loss Limit : Profit Target in Absolute terms
Do Intraday Exit :Flag to check if trade should be taken as an Intraday only
Exit Window : Session time during which the trade should be closed , like 15:00 - 15:30 for NSE , 22:30 - 23:00 for MCX etc ,
it should be wide enough to accommodate the resolution the use has on the screen
Visual Checks - The user could manually validate the back test results on various assets they would like to use this strategy on before putting it live.
Usage/Markets : Index Trading / Equities and also well with Commodities and Currencies
Time Frame : works well between 3 and 30 , keep the Box resolution to at least 45 for 3/5 mins TF and you could move upto 180 (3 hrs ) for a 30 mins TF.
Strategy Settings Used/Assumed : All of this values are provided in the Properties Tab of the Indicator Settings
and the users can customize it to suit the broker or the product they are charting it against
Initial Capital : 100 000
Order Size : 10 Quantities for Equities , you may change it to 1 lot for Future contracts based on capital deployed
Commission : is set at 0.05%
Slippage : 20 ticks
Recalculate Option : After the Order is filled is selected by default
Disclaimer : There could be scenarios when the breakout/breakdown candle is rejected , especially when it is long one
so it is always recommended to have a confirmation candle that open-closes above the breakout candle / open-closes below the breakdown candle
If you like it and find it useful or if you find a defect or bug , Please let us know in the comments .. that would encouraging !! for us to develop it further
Thank you and have a beautiful and Profitable trading session !
How to get access
Please click on the link / email in the signature or send me a private message to get access
Feedback
Please click on the link/email in the signature or send me a private message for suggestions/feedbacks
Short In Downtrend Below MA100 (Coinrule)This is a simple strategy to take advantage of downtrends. It's useful to run such a strategy as a hedge in times of market uncertainty.
The Sell Condition - Entry
The sell signal triggers when:
the coin has MA (100) greater than the price in a timeframe of 15 minutes, meaning that the coin is in a short-term downtrend.
the coin has an RSI greater than 30 in a timeframe of 15 minutes, indicating that it didn't reach oversold conditions yet, so there is still room for a further price drop.
On Coinrule, you can launch the strategy on real market conditions, setting up multiple sequential sell orders. The strategy would keep selling while the price stays below the MA(100). In that case, it's advisable to set low amounts for the sell orders. the position will grow gradually while the downtrend intensifies. Set a minimum time interval between the sell orders will also help to have control over the overall position size.
The Buy Condition - Exit
The bot connects to each trade a stop loss and a take profit. The percentages are optimized for short term trades on mid-cap coins. You can adjust the percentages depending on the specific coin you are trading. A ratio of 1:1.5 between the stop loss and the take profit could work as the strategy trades in the same direction of the trend.
Stop loss at 3% from the entry price
Take profit at 2% from the entry price
A slightly larger stop loss allows tolerating more volatility to reduce the case of stops triggering when it shouldn't.
TigerBot SuperWave with MACD Strategy (Backtesting)Visit our website or direct message us to learn how you can get started with TigerBot automation today!
This strategy is a custom solution that we have provided. At this time, it is a private, invite only script.
Note: This is a TigerBot Strategy, which means that it includes our full set of automation and risk management features such as:
Thorough event triggers for automated order execution
Profit/Loss Zones
Profit/Loss Indicators
Take Profit
Normal Stop Loss
Trailing Stop Loss
Advanced Trailing Stop
Profit Locker Stop Loss
Advanced Pyramiding Support
Leverage Support
Much more
Each TigerBot Strategy includes a set of 3 scripts that belong together:
STRATEGY - used for full-featured customization with all our visuals
STUDY - with alert triggers for automation
SKELETON - for faster backtesting without the visuals enabled
This is the STRATEGY version of this script. Please also see the other 2 related scripts.
Engulfing strategy with DMI confirmationThe strategy contains Bearish and Bullish Engulfing trend reverse alerts with entry and closure notifications. Entries are enforced by Directional Movement Index (DMI) indicator levels combination. The strategy can be applied to spot, futures and marginal trading exchanges. It is suitable for both long and short positions and works accurately with BTC, USDT, ETH and BNB quote currencies. Best to use with 1H timeframe charts
Strategy elements can be configured at your own desire with user interface settings, no programming skills required:
1. Choose signals type: Long, Short or Both
2. Choose trend detection pattern rule:
SMA50 - provides a higher number of positions
SMA50 + SMA200 provides a higher accuracy
3. Change risk management settings to make the most accurate and efficient configuration. You can set up unique stop loss, take profit and trailing offset for different assets
4. Configure strategy periods
DMI and ADX lengths
ADX Smoothing
Key level
EMA and SMA lengths
5. Configure backtest dates
6. Show or hide RSI support and resistance bands
Engulfing strategy provides information for traders to enter the market in anticipation of a possible reversal in trend. Engulfing candles tend to signal a reversal of the current trend in the market. This specific pattern involves two candles with the latter candle "engulfing" the entire body of the candle before it. The engulfing candle can be bullish or bearish depending on where it forms in relation to the existing trend. The script calculates and compares values of the price action candles to define is there an engulfing and what type it is: bullish or bearish
If there is a bullish engulfing the indicator fills price action candle with yellow color
If there is a bearish engulfing the indicator fills price action candle with purple color
Advantages of the script:
1. The script detects presence of both types of engulfing: Bullish and Bearish
2. Weak engulfment signals and market noises are filtered by RSI bands and DMI confirmations. This allows to receive only strong and confirmed engulfment signals
3. This script has configurable risk management settings (order size, commission, take profit, stop loss and trailing). This provides you opportunity of direct broker connection and allows to conduct backtests before applying the strategy to real account. You also can set up strategy actions alerts
At the chart you can see the historical price action of ADAUSDT at Binance exchange from the January 1st 2019 till current date. The strategy is set up to receive only long signals because it is a spot market. Moments when the strategy triggered to enter a position are shown as L label while position entries are shown as "Long" messages. Moments when a certain position should be closed are shown as "Exitlong" messages
The strategy demonstrate high backtest results:
Mathematical expectation of risk management settings is positive = 1.34%
Percent profitable = 93.33%
Profit factor = 3.253
Quantity of entries = 75
Net profit = 15.22%
How to use?
Long signals:
1. Apply indicator to a trading pair your are interested in.
2. Click Settings button and select Alert Positions Type Long
3. Once bullish engulfing and confirmation conditions are met price action candle will be colored yellow and script strategy will enter a position.
4. Check Strategy Tester to set up optimal Risk management settings: stop loss, trailing profit activation point, trailing offset
5. Set up the strategy alert to be notified when a position should be opened or closed
Short signals:
1. Apply indicator to a trading pair your are interested in.
2. Click Settings button and select Alert Positions Type Short
3. Once bearish engulfing and confirmation conditions are met price action candle will be colored purple and script strategy will enter a position.
4. Check Strategy Tester to set up optimal Risk management settings: stop loss, trailing profit activation point, trailing offset
5. Set up the strategy alert to be notified when a position should be opened or closed
Best regards,
SkyRock Signals team
If you want to receive access to the strategy please contact us in personal message!
CCI-RSI MR Indicators:
Bollinger Bands (20 period, 2σ)
RSI (14 period) and Simple moving average of RSI (5 period)
CCI (20 period)
SMA (5 period)
Entry Conditions:
Buy when:
Swing low (5) should be lower than the highest of lower BB (3 periods)
Both RSI crossover RSI_5 and CCI crossover -100 should have happened within last 3 candles (including the current candle)
Once all the above conditions are met, the close should be higher than SMA (5) within the next 3 candles
After condition 3 is satisfied, we enter the trade at next candle’s open
Stop loss will be at 1 tick lower than previous swing low
Sell when:
Swing high (5) should be higher than the lowest of upper BB (3 periods)
Both RSI crossunder RSI_5 and CCI crossunder 100 should have happened within last 3 candles (including the current candle)
Once all the above conditions are met, the close should be lower than SMA (5) within the next 3 candles
After condition 3 is satisfied, we enter the trade at next candle’s open
Stop loss will be at 1 tick higher than previous swing high
Exit Conditions:
Since it’s mean reversion strategy we’ll be having only 2 target exits with a trailing stop loss after target price 1 is achieved.
Target exit price 1 & 2 are decided based on the risk ‘R’ for each trade
Depending on the instrument and time frame a trailing stop loss of 0.5R or 1R has opted.
A stop limit is placed @Entry_price +- 2*ATR(20) to offset the risk of losing significantly more than 1xR in a trade
mark strategy1 band+rsi filter for xbtusdHi first of all thanks for read this.
This is my first strategy for make trading, I optimized it for xbtusd and 15 min or 30 min charts.
You can personalize some setting for reach a better result then me, these are the setting:
1) trend bars
U can change this value for trade after a prefix number of candle who confirm signals
2) time frame
U can change this value for use a different number of candle for take signals
3) date setting:
U can change this value for test strategy in a specific period
4) rsi period
U can change this value for use a differt rsi timeframe for rsi filter
5) rsi up
U can change this value for enter a trade after rsi is > of value
6) rsi low
U can change this value for enter a trade after rsi is < of value
7) take profit
U can change this value for exit trade after a prefix $ price change
8) stop loss
U can change this value for stop trade after a prefix $ price change
9) trailing stop
U can change this value for use trailing stop option, u can follow the price with this setting
10) trailing stop offset
U can change this value for a retard of trailing stop option this can help to understand the real earning with stop loss because sometimes broker's stop loss is not perfect
Have nice day and send me a message if u will earn with my strategy.
If u want my code send me a message
Noro's RiskTurtle StrategyThe idea of this strategy script was taken here:
(PDF-Book, English) bigpicture.typepad.com
Strategy
2 Donchian price channels are being created. Fast and slow. The number of candles for the channels is selected by the user. By default, 20 bars for fast and 50 bars for slow. Blue lines show a slow price channel . And used to enter positions. Using market stop orders. A fast price channel is needed to find out the price for stop-loss. This is the center line of the fast channel. Shown by a red line. The background shows when the positions were opened. Lime background for long positions, and red background for short positions. There is no background if there are no positions.
Risk size
Stop Placement
The Turtles placed their stops based on position risk. No trade could incur more than 2% risk.
Since 1N of price movement represented 1% of Account Equity, the maximum stop
that would allow 2% risk would be 2N of price movement. Turtle stops were set at 2N
below the entry for long positions, and 2N above the entry for short positions.
For
- XBT/USD, BTC /USD, BTC /USDT, ETH/USD, ETH/USDT, etc - need ***/(T)USD(T)
- Timeframes 1h, 2h, 3h, 4h
Trend reversal strategy "muxie2" with safety SL, about 2x PFThis is a modified version of my script muxie1.
The muxie1 is more profitable in backtesting but is more risky as the stop loss is only triggered when a reversal happens and orders 2x more in reverse direction.
The current script works the same but if loss is substancial and reaches the safety stop loss then the trade is closed.
This uses 2 EMA and Stop Loss and Take Profit,
The soft stops don't fire at the precise value but only when the trend reverses
it is actually good for 1D timeframe since 2019, it was however optimised for 1min but I am not able to share scripts for 1m.
Have equivalent code for quantum zone Ftx.
Note the stops are in dollars of btc price, so this makes sense for bitcoin only.
Crypto Trend Following StrategyThis is the strategy script indicator of Crypto Trend Following Strategy which can be used for back testing. With study script indicator, strategy can be easily automated.
To set alerts, see Crypto Trend Following Study indicator.
Script is using several moving averages to keep you on the right side of the trend. Signals are also filtered based on other indicators to prevent buying already overbought or selling already oversold coins and avoid ranging markets.
MAIN GOAL
Main goal of the strategy is long-term stable profit. No strategy has 100% accuracy therefore there always will be some false signals. But patience pays, with Trend Following Strategy, you will get couple of small loses while waiting to get big wins when coin is trending strongly. As you never know the right time you must sustain and be in all trades to make sure that you will not miss the big move.
BACKTEST
This script is for free to play with so you can back test and see for yourself how the strategy performs on any of your favourite coins.
Strategy is optimized and back tested for USDT and BTC pairs on 6h timeframe but it can be used on any pair and any timeframe.
RISK & REWARD
Strategy does not use safety orders as DCAs usually leads to bag holding sooner or later. It does not use take profit either as strategy will tell you when to buy and when to sell based on the actual market condition.
You should always use stop loss to protect your account from drawdown or even being liquidated.
You can change stop loss or take profit as you like or even back test the strategy with your preferred settings to find what suits you best.
STRATEGY SETTINGS
You can use the strategy script for fine tuning and find best settings for yourself.
If you need any help with settings do not hesitate to ask. I would also appreciate any feedback and ideas how to improve the script.
==== Indicators settings ====
RSI Long < and StochRSI Long <
• used to filter out buy signals of already overbought coins - ( stoch ) RSI must be under set value to fire a BUY signal
RSI Short > and StochRSI Short >
• used to filter out sell signals of already oversold coins - ( stoch ) RSI must be over set value to fire a SELL signal
ADX >
• used to filter out buy or sell signals in ranging markets - ADX must be over set value to fire a BUY or SELL signal
MA Fast and Slow Length
• Two moving averages to indicate an actual short-term trend
Baseline Length & Type
• Baseline is a moving average which confirms the longer-term trend. You can set length and type of the moving average
==== Test period settings ====
• You can set the back tested window
==== Strategy settings =====
• Target Take profit and Stop loss in %
• Only LONG trades – tick if you do not want to calculate SHORT trades in the back test
• Plot key levels on chart – if you use stop loss and/or take profit, you can turn on levels of price to reach (yellow – bought price, red – stop loss – green - take profit)
Back test calculates with commission and fixed order size. You can change these settings on Properties Tab
Relativity BEARS FOREX 100X 1H AlgorithmHi,
This system is prepared only for leveraged markets and only for Forex.
System parameters:
Timeframe = 1H (1 Hours)
Leverage = 100X
Position Size = %1 (0.01) Each Trade
System features :
- It targets the Risk /Reward Ratio of 1/3 and above. (Risk/Reward Ratio >= 3 )
- If a Take Profit Point has come in a successful trade but the parameter conformity has not deteriorated, system continues the trade.
- In this way, you can catch strong short trends several times a year.
But it is strict as stop-loss and avoids large declines,whipsaws whenever possible.
- The system tries to avoid unnecessary processes as much as possible.
This means less commission and less sideways market.
- Since it takes advantage of the reverse market, it is suitable not only for long and short but only for short position, ie "bears".
But this neutralizes unnecessary processes.
- Stop-Loss points and Take Profit (TP) points are shown in red and green.
-However, if there is a small amount of follow-up available at the computer, it is recommended to put stop-loss only.
Because the system revises both stop-loss and take profit points according to the conditions formed.
Doing this in the right major long trend here allows you to be in trades.
-The system takes into account the risk and only opens transactions where the value corresponding to 100 leverage ratio is greater than the risk.
This provides as much protection from risk as possible.
-Alerts added.
***Since it is located in the most risky market, the forex market, a balanced algorithm has been optimized, considering that it has a very unstable structure similar to dilithrium crystals (same logic as investment bank trader test).
So if this algorithm was a person, it would be an incredibly disciplined but equally skeptical person =)
Also, like other systems, this system also uses ANN (Artificial Neural Networks).
About Backtest :
Since this system is for leveraged market, backtest results are not healthy.
But since it targets the 1/3 Risk Reward Rate (3.00),
we must look Ratio Avg Win/Loss and it must be over 0.5 because :
This ratio means: When we reach 33% of our correct trades in all our trades, we are at breakeven.
This is 100 - 33 = 66
33/66 = 0.5
So whenever this rate is over 0.5, we make a profit.
*** The fact that this ratio must over 0.75 (worst scenario) in terms of securing ourselves because there will be extra comission fees for worst scenario.
Above this ratios ,we can do successful snowball trades.
And we achieve success cumulatively.
Important Note : This system is prepared only for these parameters.
NOTE :
The system has been prepared as a strategy to present success in a transparent manner.
Please check "Ratio Avg . Win / Avg Loss" rates in backtests.
Important Note 2 -
Although the system revises the stop and take profit points in the required parameters, the most accurate place is when the signal comes.
It should be entered when the signal comes as much as possible and if this did not happen,
trade must be opened in the nearest bars after the signal comes.
Best regards.
EDIT : Comission added. (%0.1)
ALL-STAR STRATEGY TP-SL-TSHello!
This strategy combines multiple following stop and take profit strategies. Basically, after purchasing depending on the MOST Strategy, with the values you will determine from the settings section;
stop loss with percentage (settings > Manuel Stop Loss Ratio),
sell and take profit if it is at max profit level (settings > Take Profit Ratio),
activate the trailing stop after it exceeds a certain profit rate, and if it has dropped from this value by a certain rate, sell and take profit (settings > Trailing Stop Start Ratio) > (settings > Trailing Stop Ratio)
you can have your transactions done. In addition, the transaction, which is stopped according to the MOST strategy, also goes into a sell state.
The bars that are in the Sell state, switch to the Buy state, enter the trailing stop area, and are in the state of Buy despite the Most are shown in different colors.
Türkçe
Bu strateji birden fazla takip eden stop ve kar al stratejisini birleştirmektedir. Temelde MOST Stratejisine bağlı olarak alım yaptıktan sonra, ayarlar bölümünden belirleyeceğiniz değerler ile;
yüzde ile zarar durdur (ayarlar> Manuel Stop Loss Ratio),
max kar al seviyesine geldiyse sat ve kar al (ayarlar> Take Profit Ratio),
belirli bir kar oranını geçtikten sonra takip eden stop aktif et ve bu değerden belirli bir oranda düştü ise sat ve kar al (ayarlar> Trailing Stop Start Ratio) > (ayarlar> Trailing Stop Ratio)
işlemlerini yaptırabilirsiniz. Bunların yanında, MOST'a göre stop olan işlem de sat durumuna geçer.
Sat durumunda olan, Al durumuna geçen, Takip eden stop alanına giren, Most'a göre al durumunda olduğu halde kar al işleminden sonraki barlar farklı renklerle gösterilmiştir.
Strategy - Bobo PAPATRHi I've revamped this bot mentioned in the linked idea to make it work with v4 of pine. In doing so there are some very significant changes to how it works. The main one is that it no longer uses traditional daily pivot calculations to calculate the bands. It creates a more dynamic intraday set of pivot points based on recent price action rather than yesterday's ohlc. As published, the bot is tuned for a 15 min time frame. But it actually works well on lower time frames you just need to adjust the lookback periods in settings a bit to re tune it. It's also tuned to ES really but will need tweaking for a different instrument at the very least.
The basic concept is recent price action is used to calculate a 'middle' around which red and green bands are located. Their position or width is largely determined by recent volatility. The middle line is again calculated from recent price action. The three lines from that form a tradeable range with green at the top and red at the bottom. The strategy is simple enough, it shorts as it sinks from outside red, and longs when rising above green. The basic principle being that once you enter that range you have a high probability of hitting the middle before you hit your stop loss. So the basic principle is you are trying to capture the inherent ranginess of liquid indices like S&P 500. That back and forth movement that happens. The bot is capturing this by fading extremes of a recent range but the problem with that is you'dd get murdered in a strong trend. To mitigate that there is a trend calculation running in the background the will prevent trading against firm trends mostly. So the bot should trade mostly in rangy conditions because that is what it is trying to do.
Bot will close issue close signals automatically upon crossing the middle, it also will close automatically at predefined stops or limits. These values are denominated in market mintick values. For example the CFD SPX500 has a mintick of 0.1. Therefore a stop value of 100 will equate to 10 points on the index. If trading the same market via ES1! the mintick value is different - 0.25. So in this case a value of 40 is required to set the stop at 10 points.
Anyway shout if you have questions. Hope it's useful.
TVC:SPX OANDA:SPX500USD
BEST ATR Stop Multiple StrategyHello traders
Here we go again.... with another strategy snippet.
Reminder: it's an alternative of this Trailing Stop strategy script
Entry logic
The entry is based on a Simple Moving Averages (SMA) cross.
This part doesn't matter here - as I wanted to focus on the ATR multiple stop loss component.
ATR STOP
This strategy snippet uses an entry stop loss defined based on a multiple of the average true range value.
The soure code detects ATR value at entry price, applies the multiplier and will set a static (= non trailing) stop-loss to each position
A pinescript v4 label will appear for each new signal displaying the ATR*multiplier value at signal time
All the BEST
Dave
Combo Backtest 123 Reversal & Donchian Channel Width This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The Donchian Channel was developed by Richard Donchian and it could be compared
to the Bollinger Bands. When it comes to volatility analysis, the Donchian Channel
Width was created in the same way as the Bollinger Bandwidth technical indicator was.
As was mentioned above the Donchian Channel Width is used in technical analysis to measure
volatility. Volatility is one of the most important parameters in technical analysis.
A price trend is not just about a price change. It is also about volume traded during this
price change and volatility of a this price change. When a technical analyst focuses his/her
attention solely on price analysis by ignoring volume and volatility, he/she only sees a part
of a complete picture only. This could lead to a situation when a trader may miss something and
lose money. Lets take a look at a simple example how volatility may help a trader:
Most of the price based technical indicators are lagging indicators.
When price moves on low volatility, it takes time for a price trend to change its direction and
it could be ok to have some lag in an indicator.
When price moves on high volatility, a price trend changes its direction faster and stronger.
An indicator's lag acceptable under low volatility could be financially suicidal now - Buy/Sell signals could be generated when it is already too late.
Another use of volatility - very popular one - it is to adapt a stop loss strategy to it:
Smaller stop-loss recommended in low volatility periods. If it is not done, a stop-loss could
be generated when it is too late.
Bigger stop-loss recommended in high volatility periods. If it is not done, a stop-loss could
be triggered too often and you may miss good trades.
WARNING:
- For purpose educate only
- This script to change bars colors.
TFs Pivot Reversal StrategyThe Pivot Reversal strategy script uses pivot points to create a support and resistance level; based on this levels the strategy creates virtual stop-market orders to catch the trend if the price is crossing the pivot lines.
A configurable trailing-stop and stop-loss is being used to exit an open position.
How to use
The strategy works with all timeframes; the current chart setting is using a 15min timeframe. The strategy enters about 10 trades per day, depending on the used settings.
I'm also providing a "study" version of this strategy, which can be used to automate the strategy by using webhooks for instance.
The script is using a default commission of 0.075% which reflects Bitmex' Taker-Fees. This is just a default and can be modified in the strategy settings for each instrument individually.
How to access
This strategy is a "Invite Only" script. You can can subscribe or purchase the strategy ; please use the link below or send me a message via Tradingview to obtain access to the strategy and study script.
For enabling the script in your Tradingview chart window, click on "Indicators" and select "Invite-Only Scripts".
Full list of parameters:
"Pivot Left Bars" ... Number of bars on the left of the pivot point - used for pivot/peak detection
"Pivot Right Bars" ... Number of bars on the right of the pivot point - used for pivot/peak detection
"Entry Offset " ... Entry price offset after crossing pivot line (in %)
"Trailing Activation Level " ... Trailing stop activation level above/below average price (in %)
"Trailing Offset " ... Trailing stop price (in %)
"Stop Loss " ... Absolute stop-loss (in %)
"Capital Risk Factor " ... Capital risk factor (in %)
"Margin / Leverage " ... Optional leverage factor which can be used to leverage position (in %)
"Backtest ..." ... Backtest timeframe; area outside this timeframe will be grayed out
I'm looking forward to any feedback, reviews or change requests!
Momentum BFThe momentum strategy is simple, if price action is higher than it was for x bars back, and also higher than it was last candle, we have upwards momentum. This momentum will be positive until a candle closes lower than the previous candle and also lower than x bars back - at which point we have downwards momentum.
The concept behind the Momentum Strategy is that when the momentum crosses from negative to positive, we go long and when it crosses from positive to negative we go short. We stay in that position until momentum crosses back the opposite direction.
INSTRUCTIONS:
Go long at the green background on the chart
Go short at the red background on the chart
The yellow lines are where your stop loss should be for longs
The orange lines are where your stop loss should be for shorts
I have included the options in Settings to change the stop loss type between ATR derived and Fixed percentage based. The default stop loss is a fixed 7%.
You can also select if you want only longs, only shorts or both.
The backtest was done with BTCUSD on Coinbase 1D.
Super Trend Daily 2.0 BFThis is my Super Trend Daily strategy but with one important difference. You can now adjust settings for long or short signals individually and separately. For example, the condition for a long signal may require a different parameter setting than the condition for a short signal. Each parameter in the signal generation can be tuned. You can also decide what kind of stop loss you want for each side - you could have a fixed stop loss for longs and an ATR derived stop loss for shorts, or whatever.
We also have the option to choose if we want longs, shorts or both.
INISTRUCTIONS
Look at the background colors:
Green line = long signal
Red line = short signal
Aqua = No long trades
White = No short trades
Yellow dotted line = stop loss for long
Orange dotted line = stop loss for short
The aqua and white backgrounds mean the conditions are choppy/sideways according to our settings we applied to the rate of change function for a long/short signal respectively. It is possible to get a long signal in a white background, but not a short signal. Similarly, it is possible to get a short signal in an aqua background, but not a long signal.
This is a work in progress so any suggestions for improvements are welcome.
CoG SSL BF 🚀In this strategy I combine my Center of Gravity script with my SSL Channel script.
The conditions for a long signal are if either:
Center of Gravity long is satisfied
Or
SSL Channel long is satisfied AND we are not in a sideways period.
The conditions for a short signal are if either:
Center of Gravity short is satisfied
Or
SSL Channel short is satisfied AND we are not in a sideways period.
We use a dynamic stop loss based on ATR to determine optimum stop loss levels. These levels are printed on the chart in yellow and orange.
INSTRUCTIONS
Bright green background = go long
Bright red background = go short
Yellow dotted line = long stop loss
Orange dotted line = short stop loss
On the chart, the 2 outer lines are the Center of Gravity lines and the filled channel in the middle is the SSL channel.
If the channel is white, this is a no trade zone, unless either Center of Gravity long/short signal is satisfied.
If we get stopped out from a long and we still have a long condition present, we re-enter. Same for short.
Kairos [Backtester]Kairos bot looks for the opportune time to buy low and sell high at targets
It provides signals to open and close trades, and indicates favorable positions for a stop loss and profit taking
The Kairos bot can be used on any chart and on any time frame
---BACKTESTER---
Using the backtester script the user can look at a chart's history between selected dates to find optimal bot settings and optimal time frames
The backtester is based on general percentages for profit taking as indicated below:
-------------T1 T2 T3 T4 T5 T6 CLOSE
1 Target: 50% 50%
2 Targets: 50% 25% 25%
3 Targets: 40% 30% 20% 10%
4 Targets: 40% 25% 20% 10% 5%
5 Targets: 35% 25% 20% 10% 5% 5%
6 Targets: 30% 25% 20% 10% 5% 5% 5%
ie: If 2 targets are selected:
- 50% of investment will be taken at target 1
- 25% of investment will be taken at target 2
- and the remainder 25% will be taken when the trade is closed on a close signal
However, it is up to the user's own risk appetite to determine where and how much profit to take
Note that the backtester does not have any on screen indicators other than OPEN and CLOSE, however profit taking can be indicated by ticking the Style -> Trades on Chart tick box on the settings userform
---SIGNALS---
The signals script can be used for automation and can indicate up to 6 potential Profit Targets, as well as a Stop Loss based on how many bars back needs to be taken into consideration
The signals (Open/Close) can be automated using TradingView alerts, however the Stop Loss and Profit Taking are only indicators and are for the users own interpretation
The user does not have to place a Stop Loss or take profit at the Targets if so wished, the bot can be used to simply buy on an OPEN signal and sell on a CLOSE signal, however, the backtester will indicate that it is far more profitable to take profits.
It is advised to take profits just below indicated Targets as these are potentially high selling zones and price action can sometimes turn down just short of these targets.
---INVITE-ONLY SCRIPT---
This is an invite-only script, so if you would like to try out Kairos Bot, send me a message
Double 7's StrategyStrategy described in the book "Short Term Trading Strategies that Work", written by Larry Connors and Cesar Alvarez.
It is the simplest strategy I know and has only 3 rules:
- Price must be above the arithmetic moving average of 200 periods.
- Buy when the price closes below the closing of the last 7 days.
- Sale when the price closes above the closing of the last 7 days.
Simple as it may seem, this strategy works very well in some stocks and/or graphical times (in some stocks it overcomes many RSI 2 strategies). It was developed for the daily chart and does not usually work well on weekly or monthly charts, but can be used for day trades if the back-test proves to be favorable.
If you want, you can change the input and output rules by setting other values for the input or output period and thus find more positive results for specific stocks.
There is no stop loss because in tests the stop loss usually reduces the gains of the strategy.
Good luck and good trades.
================================
Estrategia descrita no livro "Short Term Trading Strategies that Work", escrito por Larry Connors e Cesar Alvarez.
É a estratégia mais simples que eu conheço e tem apenas 3 regras:
- Preço deve estar acima da média móvel aritmética de 200 períodos.
- Compre quando o preço fechar abaixo do fechamento dos ultimos 7 dias.
- Venda quando o preço fechar acima do fechamento dos ultimos 7 dias.
Por mais simples que pareça, esta estratégia funciona muito bem em alguns papeis e/ou tempos gráficos (em alguns papeis a mesma supera muitas estratégias pelo IFR2). A mesma foi desenvolvida para o gráfico diário e normalmente não funciona muito bem em gráficos semanais ou mensais, mas pode ser utilizado no intraday caso o backtest se mostre favorável.
Caso você queira, é possível alterar a regra de entrada e saída definindo outros valores para o período de entrada ou saída e assim encontrar resultados mais positivos para cada papel.
Não existe stop loss pois nos testes normalmente o stop loss reduz os ganhos da estratégia.
Boa sorte e bons trades.
Cryptocurrency trend following EMA Ribbon LONG only strategyThis strategy is based on EMA Ribbon and uses multiple indicators to find optimal time to enter/exit the trade and filter out false signals. The script with default setting is developed mainly for trading altcoins/stable coin pair such as ADA/USDT etc on 4h timeframe but it can be applied to any pair/any timeframe with some settings adjustments.
For plot on chart features make sure that you have both study and strategy scripts on chart with same settings.
Strategy settings description:
1. Signal EMA Length - Value for exponencial moving average (slowest from EMA Ribbon)
1a. Buy price toleration (%) - Price deviation for filtering bounces of EMA - price must close defined percents above EMA to open long trade
1b. Sell price toleration (%) - Price deviation for filtering bounces of EMA - price must close defined percents bellow EMA to close long trade
1c. EMA deelay - EMA id delayed by defined bars for smoothening
2. Filter by Fast EMA - Strategy filters signals to prevent buy while coin is dropping
2a. Fast EMA Length - Value for fast exponencial moving average
3. Filter by SMA - Strategy filters signals to confirm trend change
3a. SMA Length - Value for simple moving average
4. Filter by RSI - Strategy filters signals to prevent buing/selling overbought/oversold coins
4a. RSI Length - Length of RSI identificator
4b. RSI Source candle - What price of candle is used for RSI calculation (open, close, high, low)
4c. RSI Long condition - When buy, RSI indicator must be below this value to prevent of buying already overbought coin
4d. RSI Short condition - When sell, RSI indicator must be above this value to prevent of selling already oversold coin
5. RSI Close Trade Condition - Strategy sell coin once RSI reach defined value
5a. RSI close trade condition - Sell once RSI indicator acquires defined value
6. Close trade by Take Profit or Stop Loss Condition (STRATEGY ONLY) - Strategy sell coin once defined take profit / stoploss level is reached
6a. Take Profit (%) - Take profit value in percent
6b. Stop Loss (%) - Stop loss value in percent
6c. Plot targets on chart - defined targets will be plotted as lines on chart
7. Date range from
7a From Year - To run strategy in interval
7b From Month - To run strategy in interval
7c From Day - To run strategy in interval
8. Date range to
8a To Year - To run strategy in interval
8b To Month - To run strategy in interval
8c To Day - To run strategy in interval
9. Wait to confirm the signal
9a Wait candless to buy - strategy will wait defined candless to confirm the signal before buy
9b Wait candless to sell - strategy will wait defined candless to confirm the signal before sell
10. Plotting on chart (STUDY ONLY)
10a Plot signal line channel with bows on chart
10b Plot simple moving average on chart
10c Plot EMA Ribbon on chart
10d Plot recent support and resistance levels on chart
11. Show Every signal (STUDY ONLY) - Unchecked shows only first signal based on strategy. But if you use take profit/stoploss settings within your bot, you might want to rebuy on next signal. Checked shows signal on each candle.
Throw on chart also buld-in RSI indicator and set the same as strategy
Notice that there might be false signals, especially when the coin is not trending or is strongly manipulated. Overall strategy is profitable though. You just take some minor loses and wont miss the big move.
You may also consider to compare buy&hold return vs profit from trading this strategy. In downtrend as we have seen recently, profit may not be as high as you expect but it is still much better than just hold and hope.
You can use the strategy script for fine tunning settings and find best settings for yourself.
Study script helps you to automate trading with use of alerts perharps with 3commas bot or even trade manually based on email/sms notification setted by tradingview
Notice that study script does not handle takeprofit/stoploss order. That is why sell arrows could be plotted by study script later than strategy script. To rebuy after takeprofit/stop-loss use "11. Show Every signal (STUDY ONLY)" setting
Make sure that you keep same settings for strategy and study scripts.
If you need any help with settings do not hesitate to ask. I would also appriciate any feedback and ideas how to improve this script.
Here is backtest result from 1. Nov 2018 using constant 100USD Buy ammount:
TigerBot SuperWave with MACD Skeleton (Faster Backtesting)Visit our website or direct message us to learn how you can get started with TigerBot automation today!
This strategy is a custom solution that we have provided. At this time, it is a private, invite only script.
Note: This is a TigerBot Strategy, which means that it includes our full set of automation and risk management features such as:
Thorough event triggers for automated order execution
Profit/Loss Zones
Profit/Loss Indicators
Take Profit
Normal Stop Loss
Trailing Stop Loss
Advanced Trailing Stop
Profit Locker Stop Loss
Advanced Pyramiding Support
Leverage Support
Much more
Each TigerBot Strategy includes a set of 3 scripts that belong together:
STRATEGY - used for full-featured customization with all our visuals
STUDY - with alert triggers for automation
SKELETON - for faster backtesting without the visuals enabled
This is the SKELETON version of this script. Please also see the other 2 related scripts.